package com.subba.dao;

import com.subba.commons.dao.GenericDao;
import com.subba.domain.UserEntity;

public interface UserDao extends GenericDao<UserEntity,  Long>{

	
	/**
     * Queries database for user name availability
     *
     * @param userName
     * @return true if available
     */
    boolean checkAvailable(String userName);
   
    /**
     * Queries user by username
     *
     * @param userName
     * @return User entity
     */
    UserEntity loadUserByUserName(String userName);

}
